package edu.hainnu.niit.service.Impl;

import edu.hainnu.niit.dao.NoticeDao;
import edu.hainnu.niit.model.Notice;
import edu.hainnu.niit.service.INoticeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * TODO
 *
 * @package_name edu.hainnu.niit.service.Impl
 * @auther GGB
 * @date 2021/12/11
 * @time 20:53
 */
@Service
public class NoticeServiceImpl implements INoticeService {

    @Resource
    NoticeDao noticeDao;


    @Override
    public Notice queryNoticeService() {
        Notice notice = noticeDao.queryNotice();
        return notice;
    }
}
